package com.zsrt.t09;

import java.util.Scanner;

public class T09 {
	public static int  ruNian(){
		System.out.println("请输入你的年份");
		Scanner sc=new Scanner(System.in);
		int year=sc.nextInt();
		if(year%4==0&&year%100!=0){
			System.out.println(year+"是平年的闰年");
		}else if(year%400==00){
			System.out.println(year+"是世纪年的闰年");
		}else{
			System.out.println("不是闰年！");
		}
		return 0;
	}
}
